import Vue from 'vue'
import Vuex from 'vuex'
import store from './api/store'
import App from './App.vue'
import router from './router'
import axios from 'axios';
import 'element-ui/lib/theme-chalk/index.css';
import './api/websocket'

import { Icon, Carousel, CarouselItem, Checkbox } from 'element-ui';
Vue.use(Icon).use(Carousel).use(CarouselItem).use(Checkbox);

Vue.use(Vuex)
Vue.prototype.$axios = axios

Vue.config.productionTip = false

Vue.prototype.$socketApi = process.env.VUE_APP_SOCKET_API

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
